<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>dil.lexer.Identifier</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "dil.lexer.Identifier";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/dil.lexer.Identifier.html" class="symbol">dil.lexer.Identifier</a></h1>
  
<p class="sec_header">Author:</p>Aziz Köksal
<p class="sec_header">License:</p>GPL3
 <p><b>Maturity:</b> high.</p>
<dl>
<dt class="decl">struct <a class="symbol _struct" name="Identifier" href="./htmlsrc/dil.lexer.Identifier.html#L21" kind="struct" beg="21" end="53">Identifier</a>; <a title="Permalink to this symbol" href="#Identifier" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.lexer.Identifier.html#L21">#</a></dt>
<dd class="ddef">
<div class="summary">Represents an identifier as defined in the D specs.</div>
<pre class="bnf">
Identifier := IdStart IdChar*
IdStart    := "_" | Letter
IdChar     := IdStart | "0"-"9"
Letter     := UniAlpha
</pre>
<p class="sec_header">See Also:</p>Unicode alphas are defined in Unicode 5.0.0.
<dl>
<dt class="decl">string <a class="symbol _variable" name="Identifier.str" href="./htmlsrc/dil.lexer.Identifier.html#L23" kind="variable" beg="23" end="23">str</a>; <a title="Permalink to this symbol" href="#Identifier.str" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.lexer.Identifier.html#L23">#</a></dt>
<dd class="ddef">
<div class="summary">The UTF-8 string of the identifier.</div></dd>
<dt class="decl">TOK <a class="symbol _variable" name="Identifier.kind" href="./htmlsrc/dil.lexer.Identifier.html#L24" kind="variable" beg="24" end="24">kind</a>; <a title="Permalink to this symbol" href="#Identifier.kind" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.lexer.Identifier.html#L24">#</a></dt>
<dd class="ddef">
<div class="summary">The token kind.</div></dd>
<dt class="decl">IDK <a class="symbol _variable" name="Identifier.idKind" href="./htmlsrc/dil.lexer.Identifier.html#L25" kind="variable" beg="25" end="25">idKind</a>; <a title="Permalink to this symbol" href="#Identifier.idKind" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.lexer.Identifier.html#L25">#</a></dt>
<dd class="ddef">
<div class="summary">Only for predefined identifiers.</div></dd>
<dt class="decl">Identifier* <a class="symbol _function" name="Identifier.opCall" href="./htmlsrc/dil.lexer.Identifier.html#L27" kind="function" beg="27" end="33">opCall</a><span class="params">(string <em>str</em>, TOK <em>kind</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#Identifier.opCall" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.lexer.Identifier.html#L27">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">Identifier* <a class="symbol _function" name="Identifier.opCall:2" href="./htmlsrc/dil.lexer.Identifier.html#L35" kind="function" beg="35" end="42">opCall</a><span class="params">(string <em>str</em>, TOK <em>kind</em>, IDK <em>idKind</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#Identifier.opCall:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.lexer.Identifier.html#L35">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uint <a class="symbol _function" name="Identifier.toHash" href="./htmlsrc/dil.lexer.Identifier.html#L44" kind="function" beg="44" end="52">toHash</a><span class="params">()</span>; <a title="Permalink to this symbol" href="#Identifier.toHash" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.lexer.Identifier.html#L44">#</a></dt>
<dd class="ddef"></dd></dl></dd></dl>
</div>
<div id="footer">
  <p>Copyright © 2007-2008, Aziz Köksal. All rights reserved.</p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 04:12:55 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>